package com.fz.us.oa.core.entity.com;

import com.fz.us.admin.company.entity.BaseFlowEntity;
import com.fz.us.admin.company.entity.CompanyFormEntity;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 业务实体类 - 资产采购项目
 * ============================================================================
 * 版权所有 2017 。
 *
 * @author XuHeng
 * @version 1.0 2017-01-13 。
 * ============================================================================
 */
@Entity
@Table(name="ec_purchaseitem")
public class PurchaseItem extends BaseFlowEntity {

    private static final long serialVersionUID = -1704025178430180737L;

    /**
     * name == 资产名称
     */

    //预算金额
    private double planMoney;

    //实际采购金额
    private double factMoney;

    //采购日期
    private Date datPurchase;

    public double getPlanMoney() {
        return planMoney;
    }

    public void setPlanMoney(double planMoney) {
        this.planMoney = planMoney;
    }

    public double getFactMoney() {
        return factMoney;
    }

    public void setFactMoney(double factMoney) {
        this.factMoney = factMoney;
    }

    public Date getDatPurchase() {
        return datPurchase;
    }

    public void setDatPurchase(Date datPurchase) {
        this.datPurchase = datPurchase;
    }
}
